﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TypeRuleSelector.aspx.cs" Inherits="Sdepci.InfoCode.Web.CodeDesign.TypeRuleSelector" %>
<%@ Register src="../Includes/VerifyLoginState.ascx" tagname="VerifyLoginState" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <link rel="stylesheet" type="text/css" href="../Css/Style.css" />
    <link rel="stylesheet" type="text/css" href="../Css/Backstage.css" />
    <title>选择编码类型</title>
    <script type="text/javascript">
        function GetReturnValue() {
            if (document.getElementById('RuleGuid').value != "") {
                window.returnValue = document.getElementById('RuleGuid').value;
                self.close();
            }
            else {
                alert("请选择编码类型！");
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <uc1:VerifyLoginState ID="VerifyLoginState1" runat="server" />
    <div id="container">
        <fieldset style="border: solid 1px #92b7e1; height: 55px; padding: 5px 5px 5px 5px; margin: 5px auto 5px auto; text-align: left;">
            <legend>选择编码类型</legend>
            <asp:DropDownList ID="RuleGuid" runat="server"></asp:DropDownList>
        </fieldset>
        <div id="buttonregion">
            <input type="button" class="button" id="btnConfirm" value="确定" onclick="javascript:GetReturnValue();" />
            <input type="button" class="button" value="取消" onclick="javascript:self.close();" />
        </div>
    </div>
    </form>
</body>
</html>
